package com.mida.app.report.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mida.app.report.vo.request.SoidMapNameVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author: bzy
 * @Description:
 * @Date: 2021/08/10 11:14
 * @params:
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("病人详细信息vo")
public class ServiceInstanceCheckVo {
    /**
     * 检查服务实例标识
     */
    @JsonSerialize(using=com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long msdServiceInstanceSoid;

    @ApiModelProperty(
            name = "serviceInstanceName",
            value = "检查服务实例名称/检查目的",
            dataType = "String"
    )
    private String serviceInstanceName;


    @ApiModelProperty(
            name = "instancePartSetSoid",
            value = "检查部位",
            dataType = "List"
    )
    private String exampart;


    @ApiModelProperty(
            name = "instancePartSetSoid",
            value = "检查部位Soid"
    )
    private String exampartSoid;

    @ApiModelProperty(
            name = "examServiceType",
            value = "检查类型名称和soid",
            dataType = "List"
    )
    private List<SoidMapNameVo> examServiceType;
    /**
     * 检查方法
     */
    @ApiModelProperty(name = "method", value = "检查方法", dataType = "List<SoidMapNameVo>")
    private String method;
    /**
     * 检查方法soid
     */
    @ApiModelProperty(name = "method", value = "检查方法soid", dataType = "List<SoidMapNameVo>")
    private Long methodSoid;
    /**
     * 上机时间（检查时间）
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operateDateTime;

    private String examinationVisitSoid;//上机号（检查号）

    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long operatorSoid;//检查标识

    /**
     * 检查技术
     */
    @ApiModelProperty(name = "medicalDeviceExampleDesc", value = "检查技术参数描述", dataType = "String")
    private String medicalDeviceExampleDesc;
}
